import request from "@/utils/request";

let urlPrefix = "/index";

export function getCards() {
    return request({
        url: urlPrefix + "/cards",
        method: "get"
    })
}

export function getPieSliceData() {
    return request({
        url: urlPrefix + "/pieChart",
        method: "get"
    })
}
